Re: [PATCH 3/4] various: erase all traces of the long-obsolete xiafs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 25, 2014 at 02:55:03PM +0200, Benno Schulenberg wrote:
> diff --git a/bash-completion/mount b/bash-completion/mount
> index db97a91..7ebcec3 100644
> --- a/bash-completion/mount
> +++ b/bash-completion/mount
> @@ -20,7 +20,7 @@ devpts	  nodevpts	nfs4	  nonfs4	usbfs	  nousbfs
>  efs	  noefs		ntfs	  nontfs	vfat	  novfat
>  ext	  noext		proc	  noproc	xenix	  noxenix
>  ext2	  noext2	qnx4	  noqnx4	xfs	  noxfs
> -ext3	  noext3	ramfs	  noramfs	xiafs	  noxiafs
> +ext3	  noext3	ramfs	  noramfs
>  ext4	  noext4	reiserfs  noreiserfs
>  hfs	  nohfs		romfs	  noromfs

 I have doubts that static list of the filesystems in the
 bash-completion/ is a good idea. It would be better to generate
 the list according to the current kernel features, something like

 (awk '{ if ($0 ~ /^[[:blank:]]/) { print $1 } else { print $2 } }'
 /proc/filesystems; ls /lib/modules/$(uname -r)/kernel/fs) | sort -u

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux