LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-17-2010, 08:34 PM   #16
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208

Raw devices are a red herring, not related to the OP question about "possible disadvantages or limitations if you don't use a partition". A whole-disk file system could be accessed via the raw device or the block device, same as a partition.
 
Old 11-18-2010, 02:05 AM   #17
Orangutanklaus
Member
 
Registered: May 2006
Posts: 93

Original Poster
Rep: Reputation: 15
Wink

Thanks for your intervention. I also don't see any context between raw access onto devices and my initial question. For now I can't see any weightly reasons that make the writing of a filesystem directly onto a dvice inadvisable, if the circumstances are given
 
Old 11-18-2010, 02:17 AM   #18
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by Orangutanklaus View Post
Thanks for your intervention. I also don't see any context between raw access onto devices and my initial question. For now I can't see any weightly reasons that make the writing of a filesystem directly onto a dvice inadvisable, if the circumstances are given
What is the benefit though? Is it worth the lack of clarity that comes with departing from convention?
 
Old 11-18-2010, 02:45 AM   #19
Orangutanklaus
Member
 
Registered: May 2006
Posts: 93

Original Poster
Rep: Reputation: 15
Conventions are important, true. The last sentence was rather related to the technical possibility.
 
Old 11-18-2010, 03:23 AM   #20
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Given that this has meandered, I am a little unclear as to what you are (now/still) asking.

There is no disdavantage in defining the full device (sans partition) as a filesystem. LVM users do it regularly.
Now, were you to invest in gpt disk, the discussion terminates.
 
Old 11-18-2010, 03:34 AM   #21
Orangutanklaus
Member
 
Registered: May 2006
Posts: 93

Original Poster
Rep: Reputation: 15
Question

Asking? Did I formulate any further question since my inital post?
 
Old 11-18-2010, 03:39 AM   #22
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Sorry - maybe I meandered between threads ...
 
Old 11-18-2010, 09:03 AM   #23
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by jefro View Post
Sure one could make a claim that swap space on a raw drive is faster, I agree. Sure one might even make a claim about more usable space and that would be true as it is in other OS's. I might even agree with some raid arrays having a use.
Usable space... well, the only wasted space in a partitioned drive is the partition table, nothing else. And that's 512 bytes for MBR. Not a bid deal really.

About swap: not even having a swap file is any slower these days, because nowadays the kernel bypasses all the fs magic when accessing swap. So, it really doesn't matter if the swap lives in a dedicated partition, a raw disk or a file. The kernel will read the on-disk position directly, it's irrelevant. Well, you might wasted an extra microsecond while initializing the swap, that's about it...

Quote:
Originally Posted by Orangutanklaus View Post
Thanks for your intervention. I also don't see any context between raw access onto devices and my initial question. For now I can't see any weightly reasons that make the writing of a filesystem directly onto a dvice inadvisable, if the circumstances are given
Linux has no problem accessing these devices. The only problems can come from individual applications. Mostly low level tools, since the rest of the OS just deals with files and doesn't care about devices.

For example: your boot manager, testdisk, partitioning tools and that kind of stuff. However, any bootloader that can boot from a floppy or a cdrom (which are unpartitioned) shouldn't have any problem booting from sda instead of let's say sda1.

No, there's no advantage. There shouldn't (note the use of conditional) be any problem either.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
tricky backup of Linux system to NTFS partition to increase partition size Pandarsson Linux - General 5 07-09-2008 02:35 PM
Hard Drive Partition Management - Mandriva Double Partition with Swap File partition moshebagelfresser Linux - Hardware 2 05-23-2008 10:46 AM
Deleted ntfs partition - added linux partition in its place - corrupt! eklhad Linux From Scratch 2 06-28-2005 01:31 AM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 12:55 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 08:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:44 AM.

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