{"id":203,"date":"2004-04-02T19:53:03","date_gmt":"2004-04-02T23:53:03","guid":{"rendered":"http:\/\/scruss.com\/blog\/?p=203"},"modified":"2004-12-26T22:14:51","modified_gmt":"2004-12-27T03:14:51","slug":"sandisk-cruzer-gentoo","status":"publish","type":"post","link":"https:\/\/scruss.com\/blog\/2004\/04\/02\/sandisk-cruzer-gentoo\/","title":{"rendered":"SanDisk Cruzer + Gentoo"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/scruss.com\/blog\/archives\/cruzer_256.jpg\" width=\"496\" height=\"168\" border=\"0\" alt=\"Sandisk Cruzer 256MB USB key\" \/><\/p>\n<p>I love it when stuff just works. Plug it in, check <code>dmesg<\/code> to see what it says:<\/p>\n<pre>\r\nhub.c: new USB device 00:02.2-1.1, assigned address 7\r\nscsi3 : SCSI emulation for USB Mass Storage devices\r\n  Vendor: Generic   Model: STORAGE DEVICE    Rev: 1.02\r\n  Type:   Direct-Access                      ANSI SCSI revision: 02\r\nAttached scsi removable disk sdb at scsi3, channel 0, id 0, lun 0\r\nSCSI device sdb: 512000 512-byte hdwr sectors (262 MB)\r\nsdb: Write Protect is off\r\n \/dev\/scsi\/host3\/bus0\/target0\/lun0: p1\r\nWARNING: USB Mass Storage data integrity not assured\r\nUSB Mass Storage device found at 7\r\n<\/pre>\n<p>So we know from the <em>\/dev\/scsi\/host3\/bus0\/target0\/lun0: p1<\/em><br \/>\nline that the filesystem is at<br \/>\n<code>\/dev\/scsi\/host3\/bus0\/target0\/lun0\/part1<\/code>. Create your<br \/>\nmountpoint as root: <code>mkdir -m777 \/mnt\/cruzer<\/code>, then edit<br \/>\n<code>\/etc\/fstab<\/code>, and add:<\/p>\n<pre>\r\n\/dev\/scsi\/host3\/bus0\/target0\/lun0\/part1 \/mnt\/cruzer vfat noauto,user 0 0\r\n<\/pre>\n<p>Any user can mount the device with <code>mount \/mnt\/cruzer<\/code>,<br \/>\nand next time Nautilus starts up, the device can be mounted from the<br \/>\ndesktop. Easy!<\/p>\n<p>The hardest part was opening the packaging, but <a href=\"http:\/\/scruss.com\/blog\/archives\/000153.html\">you know what I<br \/>\nhave to say about SanDisk packaging<\/a>&nbsp;&hellip;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I love it when stuff just works. Plug it in, check dmesg to see what it says: hub.c: new USB device 00:02.2-1.1, assigned address 7 scsi3 : SCSI emulation for USB Mass Storage devices Vendor: Generic Model: STORAGE DEVICE Rev: 1.02 Type: Direct-Access ANSI SCSI revision: 02 Attached scsi removable disk sdb at scsi3, channel [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[7],"tags":[727,1391,229],"class_list":["post-203","post","type-post","status-publish","format-standard","hentry","category-computers-suck","tag-gentoo","tag-sandisk","tag-usb"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pQNZZ-3h","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/comments?post=203"}],"version-history":[{"count":0,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/203\/revisions"}],"wp:attachment":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/media?parent=203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/categories?post=203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/tags?post=203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}