You are not logged in.

#1 2005-05-10 16:13:39

krafty
Member
Registered: 2005-03-22
Posts: 15

More than 1 folder on a new partition

Hi!

I'd like to have a partition with two folders (or more eventually) folders on it,  If I've got folders A and B for instance, I'd like them to have labels /A and /B.  I could add this to /etc/fstab:

/dev/sda4    /A ext3 defaults 0 1
/A/B            /B ext 3 bind 0 1

but this requires having a B folder inside A.  Is there an other way to have a partitioning scheme like this?

Regards, and thanks for the answers!


:: it's not in rhyme or reason

Offline

#2 2005-05-10 16:21:38

cmp
Member
Registered: 2005-01-03
Posts: 350

Re: More than 1 folder on a new partition

you could also do
/dev/sda4 /mnt/sda ext3 defaults 0 1
/mnt/sda/B /B ext 3 bind 0 1
/mnt/sda/A /A ext 3 bind 0 1

Offline

Board footer

Powered by FluxBB