SLAC PEP-II
BABAR
SLAC<->RAL
Babar logo
HEPIC E,S & H Databases PDG HEP preprints
Organization Detector Computing Physics Documentation
Personnel Glossary Sitemap Search Hypernews
Unwrap page!
Det. Search
Who's who?
Meetings
FAQ
Images
Archive
Systems
Performance
Intern. region
Vertex Tracker
Drift chamber
DIRC
Calorimeter
IFR
LST
Magnet
Electronics
Trigger
Operations
Run Coordination
Contact Experts
Shift Takers Info
Operations Manual
Electronic Logbook
Ops Hypernews
Shift Signup
Check this page for HTML 4.01 Transitional compliance with the
W3C Validator
(More checks...)

Formatting CF cards

SLAC Windows machines are mostly XP (no more Windows 2000) due to recent migration to XP. Xilinx states that formatting CF with XP would not work due to multiple reserved sectors ( Answers Database: Record Number 14456 ) A kludge would be to do it in Linux and a procedure is introduced here.

  • Login to a Linux machine as a root
  • Connect the CF card to the USB CF writer
  • Type in followings
      # /sbin/modprobe usb-storage  
      # /sbin/mkdosfs -F 16 /dev/sda1
      # dmesg
      (bla...)
      SCSI device sda: 128000 512-byte hdwr sectors (66 MB)
      usb-uhci.c: interrupt, status 2, frame# 255
      sda: Write Protect is off
       sda: sda1
      #

Details: Above procedure was tested with once-formatted-with-XP CF cards. So, if one has a brand new one, one may have to run /sbin/fdisk. If you want to check the content (assuming you have /mnt/usbstick),

/bin/mount -t vfat /dev/sda1 /mnt/usbstick

and do ls -l etc.
Eunil Won
Last modified: Fri 12 Mar 2004