View previous topic :: View next topic |
Author |
Message |
firekopf n00b
Joined: 30 Nov 2004 Posts: 31
|
Posted: Fri Dec 02, 2005 4:43 am Post subject: read only partition |
|
|
Hello,
My hfs partition seems to be set to be read-only when i attempt to write to it from gentoo. how do i set it to allow gentoo to write to as well as read from it?
Here is a copy of my /etc/fstab file, if it helps
Code: |
GNU nano 1.3.7 File: /etc/fstab
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda8 / ext3 noatime 0 1
/dev/hda5 /mnt/Astrid hfs noatime,user 0 0
/dev/hda7 none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,user 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0
|
|
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
|
Back to top |
|
|
firekopf n00b
Joined: 30 Nov 2004 Posts: 31
|
Posted: Fri Dec 02, 2005 10:46 pm Post subject: |
|
|
Okay, here is what I found in my dmesg:
evbug.c: Event. Dev: usb-0000:00:14.0-1.3/input0, Type: 1, Code: 23, Value: 0
evbug.c: Event. Dev: usb-0000:00:14.0-1.3/input0, Type: 0, Code: 0, Value: 0
evbug.c: Event. Dev: usb-0000:00:14.0-1.3/input0, Type: 1, Code: 32, Value: 1
evbug.c: Event. Dev: usb-0000:00:14.0-1.3/input0, Type: 0, Code: 0, Value: 0
evbug.c: Event. Dev: usb-0000:00:14.0-1.3/input0, Type: 1, Code: 32, Value: 0
evbug.c: Event. Dev: usb-0000:00:14.0-1.3/input0, Type: 0, Code: 0, Value: 0
evbug.c: Event. Dev: usb-0000:00:14.0-1.3/input0, Type: 1, Code: 28, Value: 1
evbug.c: Event. Dev: usb-0000:00:14.0-1.3/input0, Type: 0, Code: 0, Value: 0
evbug.c: Event. Dev: usb-0000:00:14.0-1.3/input0, Type: 1, Code: 28, Value: 0
evbug.c: Event. Dev: usb-0000:00:14.0-1.3/input0, Type: 0, Code: 0, Value: 0
HFS-fs warning: Filesystem was not cleanly unmounted, running fsck.hfs is recommended. mounting read-only.
evbug.c: Event. Dev: usb-0000:00:14.0-1.3/input0, Type: 1, Code: 32, Value: 1
evbug.c: Event. Dev: usb-0000:00:14.0-1.3/input0, Type: 0, Code: 0, Value: 0
evbug.c: Event. Dev: usb-0000:00:14.0-1.3/input0, Type: 1, Code: 32, Value: 0
evbug.c: Event. Dev: usb-0000:00:14.0-1.3/input0, Type: 0, Code: 0, Value: 0
evbug.c: Event. Dev: usb-0000:00:14.0-1.3/input0, Type: 1, Code: 50, Value: 1
evbug.c: Event. Dev: usb-0000:00:14.0-1.3/input0, Type: 0, Code: 0, Value: 0
evbug.c: Event. Dev: usb-0000:00:14.0-1.3/input0, Type: 1, Code: 50, Value: 0
Okay, my next question is
a) where can I find fsck.hfs, and
b) how do i make sure it automatically unmounts in the future |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Sat Dec 03, 2005 2:11 am Post subject: |
|
|
1. Turn off input event debugging in your kernel
2. Either scan the disk from OSX, use hpfsck or use the program in bug #46342. If you do use hpfsck, *please* make sure that it's a HFS partition and not an HFS+ partition, hpfsck will destroy HFS+ partitions. _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
Back to top |
|
|
firekopf n00b
Joined: 30 Nov 2004 Posts: 31
|
Posted: Sun Dec 04, 2005 7:50 pm Post subject: |
|
|
okay, checked it with disk first aid in os 9 and now it is mounted read-write, which is great. the only problem i found with it is that everything is marked as being owned by root (which is not necessarily a problem, but my music files on the hfs partition and i would like to change some of the id3 tags etc while using a non-admin account) any attempt to chmod read and write permissions for other users doesn't change anything, which is odd. I tested out the chmod arguments on files on my ex3 partition and it worked perfectly. Even using chmod with the -c and -v arguments doesn't show anything. |
|
Back to top |
|
|
|
|
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
|
|