LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-15-2011, 10:21 PM   #1
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
Running Slackware from an SD card - tmpfs / ramfs


I was just given a dell mini 9. Joy a new toy The SSD has failed, so I installed Slackware -current to a 2GiB SD card. Everything is working fine except I'm worried about killing the flash drive due to excessive read-writes.

Not being concerned with persistent storage, I've mounted a couple of dir's to ramfs -
Code:
none /tmp ramfs defaults 0 0
none /home/user/.mozilla ramfs default 0 0
I'd love to mount the entire drive as read only. Then certain directories that need written to as ramfs. However this mini 9 only has 512MiB, and I'm affraid I'll quickly run out of space. I am not using swap.

ramfs and tmpfs are new concepts to me. I did a little research, but was hoping for some user input on their experiences.
 
Old 01-15-2011, 10:56 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
My server is running Slackware from a CF card, with no swap and directories with high file I/O (like the log files) moved over to tmpfs. You can read about the build and my software setup on my site:

DigiFAIL - Mainframe Mk2

The setup has worked exceptionally well for me so far, though I have 2 GB of RAM in the server. With only 512 MB, and the overhead involved with running X and desktop-oriented applications, I am not sure you can really spare the memory.
 
Old 01-15-2011, 11:39 PM   #3
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Original Poster
Rep: Reputation: 223Reputation: 223Reputation: 223
Thanks! I'll read through it.
The PC is using ~100 MiB with openbox, tint2, network manager applet, and firefox. I've been thinking of getting a CF card as I've read those are more durable. I have one of those usb multi reader things. Need to check with my SD card if the mini 9 can properly use it to boot first. Happened to find a site with different adapters for miniPCI slots http://www.bplus.com.tw/. This is just a side project to have fun with. It was given to me because the battery is toast, they lost the charger, and of course failed SSD drive.

off topic -
Did you post that from a cr-48? Have they released any updates to chrome os yet. I flashed the bios on my cr-48, and put Slackware on it for the time being. Waiting on Google to push some updates before I flash it back.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] tmpfs not working on custom kernel, slackware 13.1 selfprogrammed Slackware 11 07-27-2010 03:22 PM
TMPFS, RAMFS and BSDs MFS sleeper0110 Linux - General 1 04-08-2009 12:50 PM
ramfs & tmpfs hadyy Linux - General 2 12-25-2007 02:16 PM
An Ideal Wireless Card for Slackware 10.0 running 2.6.10 cddesjar Linux - Wireless Networking 7 02-22-2005 11:53 PM
tmpfs and ramfs jatho Linux - General 0 06-23-2004 04:11 AM


All times are GMT -5. The time now is 05:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration