Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just installed OpenDarwin to a UFS partition and I need to know how I can setup the fstab so at least root can read/write to the partition. Since I can't get much to go my way from the command prompt (just a little different from the Linux shell), I need to transfer a few files over so I can get a GUI going and perhaps get it online. After installing OpenDarwin on my (once was) Windows partition, I cheated a little bit and just changed the file system. It now reads
I can mount the partition as root, but it does not show any of the files. I also cannot write any files to it.
I need to have something to show in the way of progress with O.D. by Friday in order to keep the project. Any help on being able to write to the partition from Slackware would be great. If I can get some install files transferred, I can get a few things running and the project keeps going. (it sure beats other work)
I've read conflicting positions on the matter if linux can read UFS2 file systems.
(you didn't specify which you have)
But as far as UFS1 is concerned:
(I checked with "make menuconfig' - that kernel 2.6.10 it does have the option
to support UFS file systems (read only) while UFS write support is considered "dangerous".
Also, I think that it can only access ' / ' and no other partitions ( like /home or /tmp if they are
on a different partition other then / ).
Here are 2 mount commands that should work - If it works out, maybe you can take it
from there for use with your fstab entry:
mount -r -t ufs -o /dev/hdxX /mnt/hdxX
mount -r -t ufs -o ufstype=ufs2 /dev/hdxX /mnt/hdxX
Thats about the extent of my knowledge on the matter - maybe you can get some help
from it. good luck
-tw
Well, I thank you for your response. I didn't mention which type of UFS it is because I don't know. I didn't see anything about it anywhere. I saw somewhere this morning about the conflicts for writing to it and decided it would probably be easier to create a fat32 partition so I could send the files to it from Slackware and retrieve them with OpenDarwin.... as of 20:32 (8:32pm) on March 14, 2005, the first half of my hard drive is dead. Re-partitioned it too many times I guess. I changed the patitions so I had an extra 1GB of fat32 between my OpenDarwin UFS and Slackware reiserfs partitions. Got all kinds of errors. Decided to try installing Windows back to it and no go.... looks like I need a new hard drive. I guess that's the price to pay when I constantly use my computer as a lab rat. Oh well, I guess I'll just have to sell Linux as a viable alternative for an office. The goal was to get OpenDarwin up and runnnig with a GUI, security features, and office productivity. Don't rightly know why this guy wanted OpenDarwin, but I'll try to get him to change his mind to use Linux instead. Hey, I can honestly say that Linux is the only OS on my machine... as long as that half of the drive holds out.
If you have already mounted the UFS partition (mount -w -t ufs -o ufstype=sun /dev/hda7 /sol10) but you cannot write to it (and you have enabled write access in the kernel), you need to remount it:
mount -t ufs -o remount,rw /dev/hda7 /sol10
This should enable write access to the UFS partition. I found this here:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.