Skip to contentSkip to conversation

nftl/DoC Mill. root fs question

DISCUSSION Levi Khatskevitch 4 participants 6 messages Dec 4, 2000 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi,

My kernel mounts /dev/nftla1 as root with no problems however when I do

# mount

it reports that / is /dev/root device and not /dev/nftla1 what did I miss?
- Levi

Signature · 8 lines
Levi Khatskevitch
CTO
Cachier, Corp.
575 Grand St., Suite E306
New York, NY 10002


To unsubscribe, send "unsubscribe mtd" to [email protected]
#1 lore raw
Quoted 1 line · Levi Khatskevitch

it reports that / is /dev/root device and not /dev/nftla1 what did I miss?

This is unix foolishness. Mounts are kept in /etc/mtab. Since the file system is readonly, this won't get fixed, since you can't update files in /etc.

ron

To unsubscribe, send "unsubscribe mtd" to [email protected]

#2 lore raw
Quoted 9 lines · Ronald G Minnich
Quoted 1 line · Levi Khatskevitch

it reports that / is /dev/root device and not /dev/nftla1 what did I miss?

This is unix foolishness. Mounts are kept in /etc/mtab. Since the file system is readonly, this won't get fixed, since you can't update files in /etc.

ron

I run systems with read-only file systems. Among other thigs, we symlink /etc/mtab to /proc/mounts.

Cheers!
Ty

Signature · 8 lines
Tyson D Sawyer                             iRobot Corporation
Senior Systems Engineer                    Real World Interface Div.
[email protected]                         Robots for the Real World
603-532-6900 ext 206                       http://www.irobot.com



To unsubscribe, send "unsubscribe mtd" to [email protected]
#3 lore raw
In reply to [email protected]
Quoted 9 lines · On Mon, 04 Dec 2000, [email protected] wrote:
Quoted 8 lines · Ronald G Minnich
Quoted 1 line · Levi Khatskevitch

it reports that / is /dev/root device and not /dev/nftla1 what did I miss?

This is unix foolishness. Mounts are kept in /etc/mtab. Since the file system is readonly, this won't get fixed, since you can't update files in /etc.

Quoted 8 lines
Quoted 1 line

ron

I run systems with read-only file systems. Among other thigs, we symlink /etc/mtab to /proc/mounts.

Cheers!
Ty

tried that, doesn't change anything
- Levi

Signature · 8 lines
Levi Khatskevitch
CTO
Cachier, Corp.
575 Grand St., Suite E306
New York, NY 10002


To unsubscribe, send "unsubscribe mtd" to [email protected]
#5 lore raw
In reply to Jan Danielsson
Quoted 4 lines · Jan Danielsson

If you use the proc filesystem: try to let "/etc/mtab" be a soft-link to "/proc/mounts".

--Jan

/proc/mounts says the same thing (/dev/root)
- Levi

Signature · 8 lines
Levi Khatskevitch
CTO
Cachier, Corp.
575 Grand St., Suite E306
New York, NY 10002


To unsubscribe, send "unsubscribe mtd" to [email protected]