public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* nftl/DoC Mill. root fs question
@ 2000-12-04 19:52 Levi Khatskevitch
  2000-12-04 21:36 ` Ronald G Minnich
  0 siblings, 1 reply; 7+ messages in thread
From: Levi Khatskevitch @ 2000-12-04 19:52 UTC (permalink / raw)
  To: mtd, linuxbios

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

-- 
Levi Khatskevitch
CTO
Cachier, Corp.
575 Grand St., Suite E306
New York, NY 10002


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nftl/DoC Mill. root fs question
  2000-12-04 19:52 Levi Khatskevitch
@ 2000-12-04 21:36 ` Ronald G Minnich
  2000-12-04 21:40   ` tyson
  2000-12-04 21:51   ` Jan Danielsson
  0 siblings, 2 replies; 7+ messages in thread
From: Ronald G Minnich @ 2000-12-04 21:36 UTC (permalink / raw)
  To: Levi Khatskevitch; +Cc: mtd, linuxbios

On Mon, 4 Dec 2000, Levi Khatskevitch wrote:

> 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 majordomo@infradead.org

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nftl/DoC Mill. root fs question
  2000-12-04 21:36 ` Ronald G Minnich
@ 2000-12-04 21:40   ` tyson
  2000-12-04 22:05     ` Levi Khatskevitch
  2000-12-04 21:51   ` Jan Danielsson
  1 sibling, 1 reply; 7+ messages in thread
From: tyson @ 2000-12-04 21:40 UTC (permalink / raw)
  To: rminnich; +Cc: LKhatskevitch, mtd, linuxbios

On  4 Dec, Ronald G Minnich wrote:
> On Mon, 4 Dec 2000, Levi Khatskevitch wrote:
> 
>> 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

-- 
Tyson D Sawyer                             iRobot Corporation
Senior Systems Engineer                    Real World Interface Div.
tsawyer@irobot.com                         Robots for the Real World
603-532-6900 ext 206                       http://www.irobot.com



To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nftl/DoC Mill. root fs question
  2000-12-04 21:36 ` Ronald G Minnich
  2000-12-04 21:40   ` tyson
@ 2000-12-04 21:51   ` Jan Danielsson
  2000-12-04 22:08     ` Levi Khatskevitch
  1 sibling, 1 reply; 7+ messages in thread
From: Jan Danielsson @ 2000-12-04 21:51 UTC (permalink / raw)
  To: LKhatskevitch; +Cc: rminnich, mtd, linuxbios

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

  --Jan


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nftl/DoC Mill. root fs question
  2000-12-04 21:40   ` tyson
@ 2000-12-04 22:05     ` Levi Khatskevitch
  0 siblings, 0 replies; 7+ messages in thread
From: Levi Khatskevitch @ 2000-12-04 22:05 UTC (permalink / raw)
  To: tyson; +Cc: mtd, linuxbios

On Mon, 04 Dec 2000, tyson@rwii.com wrote:
> On  4 Dec, Ronald G Minnich wrote:
> > On Mon, 4 Dec 2000, Levi Khatskevitch wrote:
> > 
> >> 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
> 

tried that, doesn't change anything
- Levi

-- 
Levi Khatskevitch
CTO
Cachier, Corp.
575 Grand St., Suite E306
New York, NY 10002


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nftl/DoC Mill. root fs question
  2000-12-04 21:51   ` Jan Danielsson
@ 2000-12-04 22:08     ` Levi Khatskevitch
  0 siblings, 0 replies; 7+ messages in thread
From: Levi Khatskevitch @ 2000-12-04 22:08 UTC (permalink / raw)
  To: Jan Danielsson; +Cc: mtd, linuxbios

On Mon, 04 Dec 2000, Jan Danielsson wrote:
> 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

-- 
Levi Khatskevitch
CTO
Cachier, Corp.
575 Grand St., Suite E306
New York, NY 10002


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nftl/DoC Mill. root fs question
       [not found] <Pine.LNX.3.96.1001206074454.1800T-100000@mail.perspex.com>
@ 2000-12-06  7:33 ` Levi Khatskevitch
  0 siblings, 0 replies; 7+ messages in thread
From: Levi Khatskevitch @ 2000-12-06  7:33 UTC (permalink / raw)
  To: Tripp Lilley; +Cc: mtd, linuxbios

On Wed, 06 Dec 2000, Tripp Lilley wrote:
> While researching this whole /etc/mtab vs. /proc/mounts issue, I came
> across the following post:
> 
> 	http://www.uwsg.iu.edu/hypermail/linux/kernel/0010.3/0243.html
> 
> which points out some of the "dangers" in using /proc/mounts, and
> specifically mentions the /dev/root issue. Not sure if it's 100%
> applicable, but it might be a good starting point :)
> 
> 
> On Mon, 4 Dec 2000 tyson@rwii.com wrote:
> 

Thanks,
I'm not yet sure how applicable this is because I'm using busybox mount that as
I have discovered recently doesn't keep mtab at all. It always looks into
/proc/mounts. Since proce/mounts reports /dev/root mounteds on / too I'm
confused, mounting root fs rw doesn't change anything but if I'm using /dev/ram0
as root /proc/mounts and mount both report it correctly. At this point I'm at
loss to explain this.

- Levi

-- 
Levi Khatskevitch
CTO
Cachier, Corp.
575 Grand St., Suite E306
New York, NY 10002


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-12-06  7:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.3.96.1001206074454.1800T-100000@mail.perspex.com>
2000-12-06  7:33 ` nftl/DoC Mill. root fs question Levi Khatskevitch
2000-12-04 19:52 Levi Khatskevitch
2000-12-04 21:36 ` Ronald G Minnich
2000-12-04 21:40   ` tyson
2000-12-04 22:05     ` Levi Khatskevitch
2000-12-04 21:51   ` Jan Danielsson
2000-12-04 22:08     ` Levi Khatskevitch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox