Re: on ext3 vs. not supported in mount

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

 



> Why is there no contradiction in:
> 
> $ mount | grep ext
> /dev/hda2 on / type ext3 (rw)
> $ sudo mount /dev/hda1 /mnt/hda1
> mount: fs type ext3 not supported by kernel
> $

By way of the quasi-private usb-storage thread in
which this question arose, kindly I hear there is no
contradiction because which mount we mean of course
varies by context:

---

mount is a user space program that does the mount
system call for you. In /etc/mtab it keeps a record of
what it mounted. Without args, "mount" is roughly the
same as "cat /etc/mtab". But the root filesystem was
not mounted by mount, but by system startup. In order
to also have a line for / it takes that line from
/etc/fstab. But that contains whatever you put there,
and need not describe reality.

---

Pat LaVarre


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux