Re: [SLE] Newbie needs mount help
Sorry about the response, just learning Linux and Evolution dosn't work exactelly like my old mail client (but it looks alot like it :-) ). Anyway, thanks for the time and education, I put the space in but now I am getting 'can't read superblock' Does the command have to be run from a certain directory? I ran it under su, I presume that was correct. Ken Schneider wrote:
-----Original Message----- From: John Dillworth
To: Ken Schneider Date: Sun, 15 Feb 2004 13:19:33 -0500 Subject: Re: [SLE] Newbie needs mount help I created a /media/hd2 directory. I then ran mount /dev/hdc1/media/hd2. The response was mount: can't find /dev/hdc1/media/hd2 in /etc/fstab or /etc/mtab
You need a space in between /dev/hdc1 and /media/hd2
Ken
PS. Please reply to the list, I get a copy from there and all can keep track of the thread.
On Sunday 15 February 2004 21:26 pm, John Dillworth wrote:
Sorry about the response, just learning Linux and Evolution dosn't work exactelly like my old mail client (but it looks alot like it :-) ). Anyway, thanks for the time and education, I put the space in but now I am getting 'can't read superblock'
Can you check the contents of /etc/fstab when each device is plugged and when neither is and tell us what the differences are?
Does the command have to be run from a certain directory?
No
I ran it under su, I presume that was correct.
It's fine, but shouldn't be necessary for removable media. Dylan -- "They that can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety." -Benjamin Franklin
Dylan wrote:
On Sunday 15 February 2004 21:26 pm, John Dillworth wrote:
Sorry about the response, just learning Linux and Evolution dosn't work exactelly like my old mail client (but it looks alot like it :-) ). Anyway, thanks for the time and education, I put the space in but now I am getting 'can't read superblock'
Can you check the contents of /etc/fstab when each device is plugged and when neither is and tell us what the differences are?
Surely you mean /etc/mtab? /etc/fstab won't change unless you edit it. <snip> -- Vic Ayres
Anders Johansson wrote:
On Sun, 2004-02-15 at 22:32 +0000, Vic Ayres wrote:
Surely you mean /etc/mtab? /etc/fstab won't change unless you edit it.
SuSE's hotplugging system will dynamically update fstab as devices are inserted and removed
It would be nice if it recognized a device type and always connected it to the same mount point. For example, I have a USB floppy, pen drive and camera. Depending on the order they're connected to the computer, they could wind up on /dev/sda, sdb or sdc. In Red Hat, I used to use devlabel, to create a symbolic link between the mounted device and a dummy mount point, such as /dev/floppy or /dev/pen.
On Sunday 15 February 2004 22:51 pm, James Knott wrote:
Anders Johansson wrote:
On Sun, 2004-02-15 at 22:32 +0000, Vic Ayres wrote:
Surely you mean /etc/mtab? /etc/fstab won't change unless you edit it.
SuSE's hotplugging system will dynamically update fstab as devices are inserted and removed
It would be nice if it recognized a device type and always connected it to the same mount point. For example, I have a USB floppy, pen drive and camera. Depending on the order they're connected to the computer, they could wind up on /dev/sda, sdb or sdc.
It does on my box - my camera is always sda and card reader is always sdb Dylan -- "They that can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety." -Benjamin Franklin
Dylan wrote:
On Sunday 15 February 2004 22:51 pm, James Knott wrote:
Anders Johansson wrote:
On Sun, 2004-02-15 at 22:32 +0000, Vic Ayres wrote:
Surely you mean /etc/mtab? /etc/fstab won't change unless you edit it.
SuSE's hotplugging system will dynamically update fstab as devices are inserted and removed
It would be nice if it recognized a device type and always connected it to the same mount point. For example, I have a USB floppy, pen drive and camera. Depending on the order they're connected to the computer, they could wind up on /dev/sda, sdb or sdc.
It does on my box - my camera is always sda and card reader is always sdb
Dylan
How'd you manage that?
On Monday 16 February 2004 22:06 pm, James Knott wrote:
Dylan wrote:
On Sunday 15 February 2004 22:51 pm, James Knott wrote:
Anders Johansson wrote:
On Sun, 2004-02-15 at 22:32 +0000, Vic Ayres wrote:
Surely you mean /etc/mtab? /etc/fstab won't change unless you edit it.
SuSE's hotplugging system will dynamically update fstab as devices are inserted and removed
It would be nice if it recognized a device type and always connected it to the same mount point. For example, I have a USB floppy, pen drive and camera. Depending on the order they're connected to the computer, they could wind up on /dev/sda, sdb or sdc.
It does on my box - my camera is always sda and card reader is always sdb
Dylan
How'd you manage that?
I didn't - it just worked like that... Dylan -- "They that can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety." -Benjamin Franklin
Anders Johansson wrote:
On Sun, 2004-02-15 at 22:32 +0000, Vic Ayres wrote:
Surely you mean /etc/mtab? /etc/fstab won't change unless you edit it.
SuSE's hotplugging system will dynamically update fstab as devices are inserted and removed
Ouch! I don't think I like that. Very near the start of man fstab it says :- The file fstab contains descriptive information about the various file systems. fstab is only read by programs, and not written; it is the duty of the system administrator to properly create and maintain this file. -- Vic Ayres
On Sun, 2004-02-15 at 23:19 +0000, Vic Ayres wrote:
Anders Johansson wrote:
On Sun, 2004-02-15 at 22:32 +0000, Vic Ayres wrote:
Surely you mean /etc/mtab? /etc/fstab won't change unless you edit it.
SuSE's hotplugging system will dynamically update fstab as devices are inserted and removed
Ouch! I don't think I like that. Very near the start of man fstab it says :-
The file fstab contains descriptive information about the various file systems. fstab is only read by programs, and not written; it is the duty of the system administrator to properly create and maintain this file.
The entries in it are already created by YaST. If you're going to complain about programs touching fstab, that would be the place to start
On Sunday 15 February 2004 14:19, Vic Ayres wrote:
Anders Johansson wrote:
On Sun, 2004-02-15 at 22:32 +0000, Vic Ayres wrote:
Surely you mean /etc/mtab? /etc/fstab won't change unless you edit it.
SuSE's hotplugging system will dynamically update fstab as devices are inserted and removed
Ouch! I don't think I like that. Very near the start of man fstab it says :-
The file fstab contains descriptive information about the various file systems. fstab is only read by programs, and not written; it is the duty of the system administrator to properly create and maintain this file.
-- Vic Ayres
Yes, and through 8.2, the hotplug services are still flakey and not totally reliable, occasionally leaving duplicate and obsolete items in fstab. Further, you can plug in different devices (memory cards, floppy drives, etc) at different times and they show up as the same device, or different devices depending on the order of attachment. Therefore, no automated scripts or processes can rely on finding any device at any given /dev name. This crys out for a different approach. -- _____________________________________ John Andersen
-----Original Message-----
From: John Dillworth
Sorry about the response, just learning Linux and Evolution dosn't work exactelly like my old mail client (but it looks alot like it :-) ). Anyway, thanks for the time and education, I put the space in but now I am getting 'can't read superblock' Does the command have to be run from a certain directory? I ran it under su, I presume that was correct.
That error indicates that their is not a filesystem on that partition. Are you sure that it is hdc1? You may want to double check. Ken
participants (7)
-
Anders Johansson
-
Dylan
-
James Knott
-
John Andersen
-
John Dillworth
-
Ken Schneider
-
Vic Ayres