Create filesystem using command line tools
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
Create filesystem using command line tools

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> File System
Author Message
Lucy
Guest





Posted: Thu Oct 21, 2004 8:25 pm    Post subject: Create filesystem using command line tools Reply with quote

Hi,

Using diskpart, I am able to create a partition/volume on a (new)
basic disk using the "create partition primary" command. I would
then like to create an NTFS filesystem on this volume., still using
a command line (scriptable) tool. Everywhere I've read has said
that "convert e: /fs:ntfs" on the command line should work, but this
returns the error message "CONVERT is not available for RAW
drives.". I cannot work out how to change the partition to anything
other than a RAW drive.

Any help is much appreciated!

Lucy
Back to top
Lucy
Guest





Posted: Fri Oct 22, 2004 12:23 pm    Post subject: RE: Create filesystem using command line tools Reply with quote

I've worked out how to do this now...
I needed to use format.exe
"format e: /fs:ntfs /v:TestVol" works :-)
Back to top
Lanwench [MVP - Exchange]
Guest





Posted: Tue Oct 26, 2004 6:02 pm    Post subject: Re: Create filesystem using command line tools Reply with quote

Lucy wrote:
Quote:
Hi,

Using diskpart, I am able to create a partition/volume on a (new)
basic disk using the "create partition primary" command. I would
then like to create an NTFS filesystem on this volume., still using
a command line (scriptable) tool. Everywhere I've read has said
that "convert e: /fs:ntfs" on the command line should work, but this
returns the error message "CONVERT is not available for RAW
drives.". I cannot work out how to change the partition to anything
other than a RAW drive.

Any help is much appreciated!

Convert will only work if there's already a file system (FAT). You need to
format the drive first - and you can format it as NTFS at that time.
Quote:

Lucy
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> File System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB