- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Format a floppy disk
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2003 12:07 AM
тАО03-19-2003 12:07 AM
Format a floppy disk
I would like know the command to format a floppy disk to a dos format. But in the file /etc/default/fs, i have only the option :
LOCAL=hfs.
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2003 12:16 AM
тАО03-19-2003 12:16 AM
Re: Format a floppy disk
do swlist -l file | grep MSDOS
and see if you have them
LOng time since I played with htese commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2003 12:38 AM
тАО03-19-2003 12:38 AM
Re: Format a floppy disk
mediainit -v -i 2 -f16 /dev/rfloppy/c0t1d0
and after i must launch the command : newfs -F ibm_1440 /dev/rfloppy/c0t1d0
This command last command does not work!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2003 02:11 AM
тАО03-19-2003 02:11 AM
Re: Format a floppy disk
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2003 02:34 AM
тАО03-19-2003 02:34 AM
Re: Format a floppy disk
take a look at next link,
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x088eabe92dabd5118ff10090279cd0f9,00.html
Hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2003 02:35 AM
тАО03-19-2003 02:35 AM
Re: Format a floppy disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2003 02:41 AM
тАО03-19-2003 02:41 AM
Re: Format a floppy disk
I haven't really played with dosls and those other utilities since HP-UX 9. However your mediainit command looks OK (from other docs I've seen), though I think the newfs won't work as you haven't got an ibm_1440 in /sbin/lib/mfsconfig.d/. I'm not sure if a newfs -F hfs of the device will give you the correct result, but could be worth trying.
I'd suggest the easiest option is to format the disks in a PC. :)
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2003 08:39 AM
тАО03-19-2003 08:39 AM
Re: Format a floppy disk
Also you should not re-format diskettes if they give problems, but you should throw them away.
As mentioned, if you want to do a *high* level format (HLF), i.e. put a DOS filesystem on it (because it was possibly wiped in some way), then it is best to do that on a PC.
If that is not possible, you can use dd(1) as Trond indicated, i.e.
Take an empty, DOS-formatted diskette and then do:
dd if=/dev/... bs=9k | compress >blank_DOS_image.Z
and *keep* blank_DOS_image.Z somewhere.
Then when you need to DOS-HLF a diskette (which is already LLFed), then do:
zcat < blank_DOS_image.Z | dd bs=9k of=/dev/...