Unix Technical Forum

How to make partition in SCSI device with a script?

This is a discussion on How to make partition in SCSI device with a script? within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hi All, I want to create one big partition in /dev/sda, but I don't know how big of /dev/sda. ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 06:16 AM
Alex
 
Posts: n/a
Default How to make partition in SCSI device with a script?

Hi All,
I want to create one big partition in /dev/sda, but I don't know how big
of /dev/sda. How I can do it in a script? Thanks.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 06:17 AM
Lee Wei Shun
 
Posts: n/a
Default Re: How to make partition in SCSI device with a script?

Alex wrote:

> Hi All,
> I want to create one big partition in /dev/sda, but I don't know how big
> of /dev/sda. How I can do it in a script? Thanks.


sfdisk -l /dev/sda will give you the size.

man sfdisk to see usage and examples.

If you don't care about the size then ,,, is a good default value.

--
Change to leews to mail

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:48 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com