Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mount Problem ...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
blueboard
n00b
n00b


Joined: 07 Dec 2003
Posts: 5
Location: Stralsund

PostPosted: Sun Jan 04, 2004 8:02 pm    Post subject: mount Problem ... Reply with quote

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
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Sun Jan 04, 2004 8:27 pm    Post subject: Reply with quote

Code:

/dev/hda5 /mnt/new ntfs noauto, users, umask=0222 0 0

...sollte so funktionieren.
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
mrsteven
Veteran
Veteran


Joined: 04 Jul 2003
Posts: 1938

PostPosted: Sun Jan 04, 2004 9:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
boris64
Veteran
Veteran


Joined: 04 Oct 2003
Posts: 1770
Location: Vechelde/Peine

PostPosted: Sun Jan 04, 2004 10:05 pm    Post subject: Reply with quote

Quote:
...bei mount nur das Gerät ODER das Ziel angeben...

???

Code:
man mount
sagt:
mount [-fnrsvw] [-t vfstype] [-o options] device dir
_________________
boris64.net 200x / visit my desktop / try these tiny kernel patches ;)
Back to top
View user's profile Send private message
leuenberger
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2003
Posts: 147
Location: Zurich, ZH, Schweiz

PostPosted: Mon Jan 05, 2004 8:48 am    Post subject: Reply with quote

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
View user's profile Send private message
boris64
Veteran
Veteran


Joined: 04 Oct 2003
Posts: 1770
Location: Vechelde/Peine

PostPosted: Mon Jan 05, 2004 10:36 am    Post subject: Reply with quote

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
View user's profile Send private message
mrsteven
Veteran
Veteran


Joined: 04 Jul 2003
Posts: 1938

PostPosted: Mon Jan 05, 2004 10:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
boris64
Veteran
Veteran


Joined: 04 Oct 2003
Posts: 1770
Location: Vechelde/Peine

PostPosted: Mon Jan 05, 2004 11:31 pm    Post subject: Reply with quote

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
Code:
mount /mnt/cdrom

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum