-
Senior Member
registered user
Re: Moving directories to their own partitions
/tmp is really tiny on both my systems, 50MB should be fine. Everything else looks Ok, however I would go with journalled filesystems for *everything* except /boot. This is what my fstab entries look like:
Code:
/dev/hdb1 / reiserfs defaults,noatime,rw 0 1
/dev/hde11 /mnt/squid reiserfs defaults,noatime,noexec 0 0
/dev/hda2 /mnt/extra2 ext3 defaults,noatime,noexec,rw 0 0
/dev/hda12 /mnt/bkps reiserfs defaults,noatime,notail,rw 0 0
--The two numeric entries at the end are for dump and fsck, see ' man fstab '.
--I'd recommend two things with all that hard drive space: Dedicate a partition (20Gig?) for backups, and consider setting up a Squid proxy server. 
http://www.squid-cache.org/
--If you want more info on that, I'll be happy to send you a copy of my config and some basic instructions.

Originally Posted by
bxb32001
Greetings everyone,
After reading the Debian install and security howtos, I've decided that I should move /var, /usr and /tmp to their own partitions, using the Knoppix home directory howto as a guide. Thing is, I don't know how my fstab should look like and how big the partitions should be.
I would like to ask for input for the layout I plan (below).
Partition sizes:
/tmp – 50 mb (or 500?)
/var – 3 gb (or 2?)
/usr – 4 gb
/ – 500 mb
Am I on the right track? Are these partition sizes okay or are they excessive? This computer is the one I'll be using for home. In the future I do plan on setting it up to host web pages as well.
fstab additions:
/dev/hda9 /usr ext2 rw 0 2
/dev/hda6 /tmp ext2 rw 0 2
/dev/hda7 /var ext2 rw 0 2
Do these entries look okay? Or should it be:
/dev/hda9 /usr ext2 defaults 1 2
/dev/hda6 /tmp ext2 defaults 1 2
/dev/hda7 /var ext2 defaults 1 2
I don't know what the numbers at the end mean... I just took these from various sample I found in LQ and Google.
Any thoughts?
- Bryan
Similar Threads
-
By Ezor in forum General Support
Replies: 2
Last Post: 01-04-2005, 07:26 PM
-
By davidc in forum Customising & Remastering
Replies: 0
Last Post: 04-15-2004, 08:15 PM
-
By Alexxx in forum General Support
Replies: 0
Last Post: 03-03-2004, 11:37 AM
-
By mikji in forum General Support
Replies: 2
Last Post: 10-24-2003, 09:52 PM
-
By numbski in forum General Support
Replies: 4
Last Post: 04-04-2003, 08:40 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$174.99

AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1)
$189.00

Intel Core i7-11700T 1.4GHz Processor 8-Core Socket LGA1200 SRKNT
$129.95

SGIN 17.3" Laptop Intel Quad-Core Up to 2.4 GHZ 8GB RAM 256GB SSD HD
$229.99

HP ProDesk 400 G5 Desktop Mini Intel Core i5-9500T Gen 8GB DDR4 As-Is For Parts
$49.99

Dell OptiPlex 3070 SFF Desktop Intel Core i3 9th gen 8gb RAM 128gb NVMe win11pro
$79.99

AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW
$399.00

Apple Macbook Pro 13" M1 8-Core 16GB 512GB - Good
$464.99

Dell OptiPlex 5070 SFF i7-9700 (8-Core) 3.0GHz 16GB 256 SSD Windows 11
$250.00

DELL OPTIPLEX 3280 21.5" AIO Core i5 10500T 8GB 256GB NVMe Windows 11 -NO STAND
$199.99