[BusyBox] mount -a, using sysfs()
Glenn McGrath
bug1 at optushome.com.au
Thu Mar 1 09:51:29 UTC 2001
Erik Andersen wrote:
>
> On Sun Dec 31, 2000 at 02:52:17PM +1100, Glenn McGrath wrote:
> > I just ran across the sysfs call, it can be used instead of
> > /proc/filesystems.
> >
>
> Sorry this has taken a while, butI just checked in a patch
> based on your work in December. It has saved 32 bytes.
>
> -Erik
>
hmm, im having problems using "-t auto", its mounting everything using
tmpfs.
Im a bit confused, i though tmpfs was renamed from shm, but both shm and
tmpfs are listed in my /proc/filesystems, maybe its just there to ease
the changeover.
my /proc/filesystems (im using 2.4.1) is as follows
nodev sockfs
nodev tmpfs
nodev shm
nodev pipefs
nodev proc
ext2
cramfs
nodev ramfs
vfat
iso9660
nodev autofs
reiserfs
nodev nfs
nodev devpts
In any case i will try and come up with a workaround by excluding
specific filesystem types, unfortunately thats going to make that
section of code a bit uglier, i could get it to try the filesystems in
reverse order, but that may introduce problems down the track.
Ill see what i can work out.
Glenn
More information about the busybox
mailing list