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

umount: /initrd/dev: Invalid argument



When booting, I get:

Freeing unused kernel memory: 6200k freed
Setting up filesystem, please wait ...
umount: /initrd: Invalid argument

The last warning is harmless but might confuse newbies.  Basically,
rootskel runs:

# Cleanup after the first init, which left the initrd mounted
# on /initrd.
umount /initrd/dev
umount /initrd

However, when this is run, only these are mounted:

/dev/root on /initrd type ext2 (ro)
tmpfs on / type tmpfs (rw)
none on /dev type devfs (rw)
none on /dev/pts type devpts (rw)
none on /proc type proc (rw)

busybox says "Invalid argument" when something is not mounted rather
than "is not mounted".

As I see it, this unmount can safely be removed.  Does anyone know why
it's there?
-- 
Martin Michlmayr
tbm@cyrius.com



Reply to: