Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: mount and linux



Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx> writes:

> > This is wrong in case of fully modular system (75% of users) since it
> > only register to /proc/filesystems at module insertion.
> > 
> > The best way would be to combine that with /etc/filesystems..
> 
> On up-to-date cooker:
> 
> [root@cooker root]# cat /etc/filesystems
> ext2
> nodev proc
> nodev devpts
> iso9660
> reiserfs
> vfat
> 
> not overly usesful (ext3, xfs, supermount, jfs, nfs ...).

yes but that the only file that give you the ability to force the auto
type, or at least make it that by default is purposing (from
util-linux/mount/mount_guess_fstype.c) :

static char
*magic_known[] = {
	"adfs", "bfs", "cramfs", "ext", "ext2", "ext3",
	"hfs", "hpfs", "iso9660", "minix", "ntfs",
	"qnx4", "reiserfs", "romfs", "swap", "udf", "ufs",
	"vxfs", "xfs", "xiafs"
};

since they are auto detected by magic number....



Messages sorted by: Reverse Date, Date, Thread, Author