Puppy's fstab + ntfs-3g = error

Please post any bugs you have found
Post Reply
Message
Author
User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

Puppy's fstab + ntfs-3g = error

#1 Post by dejan555 »

OK, I wanted to put my /dev/sda5 (ntfs) partition in fstab so it mounts on startup and i can mount/umount it without long cli mount options, I can still have it mounted in rc.sysinit or in ~/Startup but i think we should solve this, even if fstab is not used through puppy users (yes, click on drive icon works, and yes mounting from cli works).

So I put in fstab:

Code: Select all

/dev/sda5 /mnt/sda5 ntfs-3g auto,rw 0 0
Then, when I try mount command:

Code: Select all

# mount /dev/sda5
ntfs-3g: Unknown option '-n'.
Please type '/sbin/mount.ntfs-3g --help' for more information.
# 

If I change ntfs-3g to ntfs it mounts read-only
I'm doing this on dpup 477, but this happens on 4.21 also and possibly other puppy versions too
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

dio444
Posts: 33
Joined: Thu 20 Nov 2008, 11:57

yup

#2 Post by dio444 »

I duplicated this in 4.21, and 4.30. Something in puppy is passing a -n to ntfs-3g automatically when mounting from fstab. Looked around some and can't find it so far, but my wife is on my ass, I gotta go do some things. Maybe I'll look at it more later.

Tom

panzerpuppy
Posts: 632
Joined: Tue 02 Oct 2007, 07:39

#3 Post by panzerpuppy »

It would be nice to have a little GUI-based app to enable auto-mounting of selected (detected) partitions / drives on startup.

diaeresis
Posts: 164
Joined: Wed 16 Sep 2009, 12:50

#4 Post by diaeresis »

second, third and fourth that. It would make life soooo much easier. Please, please, please.

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#5 Post by dejan555 »

Anyone has solution for fstab issue yet?
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

diaeresis
Posts: 164
Joined: Wed 16 Sep 2009, 12:50

#6 Post by diaeresis »

on bugtracker

hexdef101
Posts: 65
Joined: Sun 13 Sep 2009, 15:44

#7 Post by hexdef101 »

I don't know if this has been solved yet but instaid of using fstab edit .xinitrc
add ntfs-3g (drive location) (mount point) just above the line
#exec currentwm
this will do the same thing as editing fstab

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#8 Post by dejan555 »

Thanks hexdef101 I know that I said I could put it in rc.sysinit ot .xinitrc or /root/Startup but this is bug with fstab.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

hexdef101
Posts: 65
Joined: Sun 13 Sep 2009, 15:44

#9 Post by hexdef101 »

oops sorry i just scanned your post. have you tried the ntfs-3g-2009.4.4-p4.pet from http://distro.ibiblio.org/pub/linux/dis ... packages-4. thats where i got mine but as i don't use fstab for this i cannot say if it has been fixed or not

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#10 Post by aragon »

@dejan
if i remember right, mount is a script. look at /usr for it. i think it's a wrapper for busybox's mount, so maybe this causes your problems.

aragon

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#11 Post by dejan555 »

thanks, I'll take a look.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

Post Reply