Home | Hardware | Internet News |Web Hosting |IT Management |Network Storage
LinuxPlanet
Search 
  Power Search | Tips 

 Front Door
 Discussion
 LinuxEngine
 Opinions
 Reports
 Reviews
 Tutorials
 News
 Technology Jobs

 Browse by subject.
Free Newsletter

Linux Planet
Linux Today
More Free Newsletters

Be a Commerce Partner


















internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Print this article
Email this article

   LinuxPlanet / Reviews



Protecting Data with Encrypted Linux Partitions Part 2
Using the UUID in /etc/fstab

Carla Schroder
Thursday, June 21, 2007 03:33:21 PM

While most Linux distributions have a default udev configuration that nails down the /dev names of internal drives, it doesn't hurt to make extra sure by using the UUID instead. So the /etc/fstab entry for our encrypted partition would look like this:

UUID=1c390791-bd8a-4655-b722-6d0bcbbdf547  /home/carla/crypted  ext3 users,atime,noauto,rw,dev,exec,suid   0 0

Note that all of that should be on a single line with no carriage returns or line breaks.

Where do you find the UUID? With the vol_id command:

# vol_id -u /dev/sda2
1c390791-bd8a-4655-b722-6d0bcbbdf547

Next: Mounting Your Encrypted Partition At Boot On Debian »

Skip Ahead

1 Adding Your Own Back Door
2 Query Commands
3 Using the UUID in /etc/fstab
4 Mounting Your Encrypted Partition At Boot On Debian
5 Giving Users Limited Rootly Powers, Other Boot Methods
6 Encrypt a USB Key





Linux is a trademark of Linus Torvalds.


internet.com home | search | help! | about us

Jupiter Online Media

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers