LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 08-08-2010, 09:30 PM   #1
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
Format and entire device with file system


Recently I have had some issues with my bochs drive images and had trouble mounting them so I could read the partitions inside the disks. Needless to say I was able to get everything worked out but it got me thinking of why we use this whole partition scheme anyway, especially on devices that we plan to make the partition the entire device anyway....

I mean cd roms and floppys do not have any need to contain partitions yet they are mounted and used just fine. So I ran a bit of a test just to see if it was possible to format an entire device that you normally wouldn't. I used a removable usb thumb drive and apart from a warning that I was going to put a file system on the entire device it allowed me to format it just fine. I was able to transfer data and mount unmount add and remove the device from the machine just fine.

What I am wondering is if there is some kind of problem doing this? I don't currently have another system to test it out on, at least non windows, so I am not sure if it causes any problems. Futhermore is it possible to format your entire operating system drive in this way and would boot loaders even allow it?

One of the reasons I think it would be better to do this is that you can make images of file systems and mount them with loopback anyway so what danger would there be in just making a home partition and mounting it via loopback during start up. This would allow you to back it up alot easier as well and even give you the option to encrypt the contents. Other then the swap partition which can be put into a file, and of course compatibility issues with windows I see no reason to partition a drive.

Some questions that I have is
1. Is there any dangers like data loss that can occur using this methood at least more then the tradional methood?
2. Do you get more disk space this way even minuscule amounts.
3. Does it improve or hinder performance.
4. Would SSD drives actually benefit from this scheme as to not require alignment?
 
Old 08-08-2010, 10:40 PM   #2
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 67
1. No

2. 512 bytes

3. No
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to encrypt entire file system? (Fedora 11 64bit) ESC201 Linux - Security 5 07-25-2009 08:24 AM
Backing up the entire file system, LVM problems chamakits Linux - Desktop 4 06-01-2009 12:30 AM
mkdir freezes entire file system for 30secs Hegemon Linux - General 3 04-29-2009 06:03 AM
shred entire device or partition , remove file system first? writedom Linux - Newbie 8 05-26-2008 12:32 PM
LXer: Move an entire file system on a live Unix system LXer Syndicated Linux News 0 07-08-2006 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:26 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration