View previous topic :: View next topic |
Author |
Message |
blueboard n00b
Joined: 07 Dec 2003 Posts: 5 Location: Stralsund
|
Posted: Sun Jan 04, 2004 8:02 pm Post subject: mount Problem ... |
|
|
hallo,
wenn ich als nicht root eine Platte mounten will kommt dies :
Code: |
mount /dev/hda5 /mnt/new/
mount: Nur »root« kann dies tun
|
meine fstab sieht so aus :
Code: |
# <fs> <mountpoint> <type> <opts> $
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda6 /boot ext2 noauto,noatime $
/dev/hda8 / reiserfs noatime $
/dev/hda7 none swap sw $
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro $
/dev/hda5 /mnt/new ntfs noauto,users $
/dev/hdc /mnt/archiv ntfs noauto,users $
|
kann jemand helfen ?
mfg blueboard |
|
Back to top |
|
|
massimo Veteran
Joined: 22 Jun 2003 Posts: 1226
|
Posted: Sun Jan 04, 2004 8:27 pm Post subject: |
|
|
Code: |
/dev/hda5 /mnt/new ntfs noauto, users, umask=0222 0 0
|
...sollte so funktionieren. _________________ Hello 911? How are you? |
|
Back to top |
|
|
mrsteven Veteran
Joined: 04 Jul 2003 Posts: 1938
|
Posted: Sun Jan 04, 2004 9:55 pm Post subject: |
|
|
Außerdem darfst du bei mount nur das Gerät ODER das Ziel angeben, also:
Code: |
mount /mnt/new
# oder
mount /dev/hda5
|
_________________ Unix philosophy: "Do one thing and do it well."
systemd: "Do everything and do it wrong." |
|
Back to top |
|
|
boris64 Veteran
Joined: 04 Oct 2003 Posts: 1770 Location: Vechelde/Peine
|
Posted: Sun Jan 04, 2004 10:05 pm Post subject: |
|
|
Quote: | ...bei mount nur das Gerät ODER das Ziel angeben... |
???
sagt:
mount [-fnrsvw] [-t vfstype] [-o options] device dir _________________ boris64.net 200x / visit my desktop / try these tiny kernel patches |
|
Back to top |
|
|
leuenberger Tux's lil' helper
Joined: 13 Jul 2003 Posts: 147 Location: Zurich, ZH, Schweiz
|
Posted: Mon Jan 05, 2004 8:48 am Post subject: |
|
|
Meine man-page sagt aber auch:
Code: | mount [-fnrsvw] [-o options [,...]] device | dir |
... und weiter ...
Code: | (ii) When mounting a file system mentioned in fstab, it suffices to give only the device, or only the mount point. |
|
|
Back to top |
|
|
boris64 Veteran
Joined: 04 Oct 2003 Posts: 1770 Location: Vechelde/Peine
|
Posted: Mon Jan 05, 2004 10:36 am Post subject: |
|
|
leuenberger wrote: | Meine man-page sagt aber auch:
Code: | mount [-fnrsvw] [-o options [,...]] device | dir |
... und weiter ...
Code: | (ii) When mounting a file system mentioned in fstab, it suffices to give only the device, or only the mount point. |
|
ok, richtig.
Quote: | ...Außerdem darfst du bei mount nur das Gerät ODER das Ziel angeben, also:... |
falsch.
wenn man es aber korrekt übersetzt, steht da, dass es "ausreicht",
gerät oder mountpunkt anzugeben, nicht aber, dass es zwingend erforderlich ist. _________________ boris64.net 200x / visit my desktop / try these tiny kernel patches |
|
Back to top |
|
|
mrsteven Veteran
Joined: 04 Jul 2003 Posts: 1938
|
Posted: Mon Jan 05, 2004 10:26 pm Post subject: |
|
|
Sry, hab mich unpräzise ausgedrückt:
Also, wenn ich mein CD-ROM-Laufwerk, das in der /etc/fstab eingetragen ist, als non-root mit
Code: |
mount /dev/cdrom /mnt/cdrom -o ro
|
mounte, bekomme ich die Fehlermeldung "nur root darf dies tun". Mit
Code: |
mount /dev/cdrom
# bzw
mount /mnt/cdrom
|
klappt's dagegen problemlos. _________________ Unix philosophy: "Do one thing and do it well."
systemd: "Do everything and do it wrong." |
|
Back to top |
|
|
boris64 Veteran
Joined: 04 Oct 2003 Posts: 1770 Location: Vechelde/Peine
|
Posted: Mon Jan 05, 2004 11:31 pm Post subject: |
|
|
also, das steht in meiner /etc/fstab
Code: | /dev/cdroms/cdrom0 /mnt/cdrom auto ro,user,noauto 0 0 |
...und ich kann mein cdrom ganz simpel mit einem
mounten (ja, als user;) )
falls du supermount benutzt, so schreib zu den optionen noch
"supermount" hinzu (->"ro,user,noauto,supermount") _________________ boris64.net 200x / visit my desktop / try these tiny kernel patches |
|
Back to top |
|
|
|