Gentoo Archives: gentoo-user

From: John Jolet <john@×××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] udev Migration and SCSI
Date: Thu, 20 Oct 2005 17:04:03
Message-Id: 200510201159.18914.john@jolet.net
In Reply to: Re: [gentoo-user] udev Migration and SCSI by Ian Brandt
1 what does "cat /proc/mounts" say?
2 On Thursday 20 October 2005 11:53, Ian Brandt wrote:
3 > Mike Williams wrote:
4 > > Kinda, yes.
5 > > Add /dev/sdXY entries, but under someother directory, /mnt/gentoo for
6 > > example. i.e.
7 > >
8 > > /dev/sda3 /mnt/gentoo auto noatime 0 1
9 > > /dev/sda1 /mnt/gentoo/boot auto ro,noatime 0 0
10 > > etc, etc
11 > >
12 > > The mount -a, and see what happens.
13 >
14 > Great suggestion. Trying it I got a rather odd result:
15 >
16 > # mount -av
17 > mount: /dev/sda3 already mounted on /mnt/gentoo/
18 > mount: none already mounted on /dev/shm
19 > mount: mount point /mnt/gentoo/boot does not exist
20 >
21 > My main curiosity is the first one. If I check there is no /mnt/gentoo...
22 >
23 > # ls -al /mnt/
24 > total 4
25 > drwxr-xr-x 7 root root 192 Oct 20 12:20 .
26 > drwxr-xr-x 20 root root 480 Jan 5 2005 ..
27 > drwxr-xr-x 13 root root 344 Nov 5 2002 .init.d
28 > -rw-r--r-- 1 root root 0 Oct 22 2004 .keep
29 > drwx------ 2 root root 72 Feb 26 2004 cdrom
30 > drwx------ 2 root root 72 Feb 26 2004 floppy
31 > drwxr-xr-x 2 root root 48 Jan 8 2004 lfs
32 >
33 > So how could /dev/sda3 already be mounted there?
34 >
35 > I tried creating a new path, /mnt/boottest and /mnt/boottest/boot, and
36 > I get the same thing:
37 >
38 > mount -av
39 > mount: /dev/sda1 already mounted on /mnt/boottest/boot
40 > mount: /dev/sda3 already mounted on /mnt/boottest/
41 >
42 > But again if I look under /mnt/boottest and /mnt/boottest/boot they're
43 > both empty? And attempts to umount fail:
44 >
45 > # umount /mnt/boottest/boot
46 > umount: /dev/sda1: not mounted
47 > umount: /dev/sda1: not mounted
48 >
49 > umount /mnt/boottest/
50 > umount: /dev/sda3: not mounted
51 > umount: /dev/sda3: not mounted
52 >
53 > Also, with this method of test, can I test mounting swap from
54 > /dev/sda2? In my existing fstab sda2 is mounted to "none". Does it
55 > make sense to do the following?...
56 >
57 > /dev/sda2 /mnt/gentoo/swap swap sw 0 0
58 >
59 >
60 > Thanks,
61 >
62 > Ian
63
64 --
65 John Jolet
66 Your On-Demand IT Department
67 512-762-0729
68 www.jolet.net
69 john@×××××.net
70 --
71 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] udev Migration and SCSI Ian Brandt <ian@×××××××××.com>