Re: linux and ipod
From: tom (tom_at_dbservice.com)
Date: 11/02/03
- Next message: Kasper Dupont: "Re: linux and ipod"
- Previous message: Ilari Liusvaara: "Re: stack size of pthread - does it grow up or down ?"
- In reply to: Kasper Dupont: "Re: linux and ipod"
- Next in thread: Kasper Dupont: "Re: linux and ipod"
- Reply: Kasper Dupont: "Re: linux and ipod"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 02 Nov 2003 21:55:57 +0100
Kasper Dupont wrote:
> tom wrote:
>
>>but i cant do this because i have sbp2 compiled in.
>>is there a way to do it wothout having sbp2 compiled as module?
>
>
> Why not just compile it as a module?
i don't know.. it's just like it is
but i should try copile it as a module...
there should be and entry in /proc/scsi/sbp2, but there isn't
so i don't know anything about sbp2
>
>
>>can i somehow remove the scsi disk from the system, perhaps using sysctl?
>>
>>on the dish the file permissions are weird.
>>some files have user:group root:root, some have 99:99.
>>can i change all files/directories to root:root?
>>or even to root:users? so i could add files to the ipod without having
>>root permossions.
>
>
> Which filesystem is it using? If you don't know
> look in /proc/mounts while it is mounted.
>
i solved it... after having worked on it the whole weekend.
i downloaded the hfsplus (hfs+) driver, compiled it, but there were bugs
in the driver.
i hacked a bit on the code and isolated the bug in the driver.
in the hfs+ filesystem every file can have some metadata (resource
fork), those who know macos should know. the bug was in the code which
was writing the resource (metadata) fork. i just comented it out and
it's working now.
i can now access the ipod with gtkpod, it works just fine, but i don't
know how to remove it from the system. i can umount it, but the devices
(/dev/sdb) are still there. i can remove them with:
$ echo "scsi remove-single-device 1 0 0 0" > /proc/scsi/scsi
but the disk it still spinning and on the display is:
"do not disconnect".
perhaps i should try compile sbp2 as a module and then do "rmmod sbp2".
but i think there should be a way doing it without having sbp2 compiled
as a module.
thanks anyway
tom
- Next message: Kasper Dupont: "Re: linux and ipod"
- Previous message: Ilari Liusvaara: "Re: stack size of pthread - does it grow up or down ?"
- In reply to: Kasper Dupont: "Re: linux and ipod"
- Next in thread: Kasper Dupont: "Re: linux and ipod"
- Reply: Kasper Dupont: "Re: linux and ipod"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|