-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Don Hawkinson wrote:
>>> I am trying to get r/w access to an IBM JFD partition
>>> without accessing the partition as root. I am using
>>> a Mandriva disto and I have the following line in my
>>> fstab file.
>>>
>>> /dev/sda13 /mp3 jfs defaults 1 2
>>>
>>> What do I need to change or add?
>>>
>>
>>Without root permissions, you cannot modify any root-owned file, like
>>/etc/fstab.
>
> I know how to modify the fstab file, just not what
> to modify.
>
>>
>>What's a 'JFD' partition?
>
> A typo, I ment JFS partition.
>
Here is your fstab line:
/dev/sda13 /mp3 jfs defaults 1 2
...and here are four partitions that I added to /etc/fstab last week:
/dev/hde1 /home/wittig/
/dev/hde2 /home/wittig/
/dev/hdh5 /home/wittig/
/dev/hdh6 /home/wittig/
All you have in the 'options' column is 'defaults'. I do not know what
the 'defaults' are.
I set mine to 'noauto' because I have a script to mount those
partitions, only when I need them mounted, when doing back-ups.
I have 'rw' set, so the partitions can be read from and written to.
I have 'user' set, so that the partitions can be mounted by me,
'wittig', without having to 'su' to 'root' to mount the partitions.
Also... after all these things were in place and working, I had to
'chown' directories (like /home/wittig/
/dev/hde1) were actually mounted in the directories I had created as
mount points... from 'root' to 'wittig'
I owned the directory /home/wittig/
point, but once /dev/hde1 was mounted on that directory, even though I
had been able to mount it as user 'wittig', and not 'root', it still
came up as owned by 'root', along with all the files in those partitions.
- --
- -wittig
http://www.robertwi
http://robertwittig
http://robertwittig
.
-----BEGIN PGP SIGNATURE---
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.
iQEVAwUBS3AfE/
qE8dWadzLgivy8LiDFC
TF9L7mljLArD316yP6F
IGS5YIp3Qz5zoptP2KP
2PEaWpJzQHjf0KxZ6HY
PD3N1zns0MC8Twk7Flk
=K4et
-----END PGP SIGNATURE---
Monday, February 8, 2010
Re: [LINUX_Newbies] Re: accessing a JFS partition
__._,_.___
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
.
__,_._,___
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment