Ports
May 19, 2013, 10:14:56 pm
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: SMF - Just Installed!
Home
Help
Search
Login
Register
Welcome to the PORTS Forum. Please post your questions, answers, and comments relating to USB and other hardware interfaces in the appropriate forums below. - Jan
Ports
>
General Category
>
General Discussion
>
Editing long files
Pages: [
1
]
« previous
next »
Print
Author
Topic: Editing long files (Read 2150 times)
henson
Member
Posts: 2
Editing long files
«
on:
April 23, 2012, 10:28:05 am »
It would seem that adding a few bytes (such as with a text editor) in the middle of a long file would require rewriting the file from the edit to the end.
Or, is there a way to put a partial cluster/sector in the middle? The "USB Mass Storage" text does not specifically mention this common procedure.
Thanks. JCH
Logged
Jan Axelson
Administrator
Frequent Contributor
Posts: 1625
Re: Editing long files
«
Reply #1 on:
April 23, 2012, 12:07:45 pm »
Clusters in a volume are a fixed size. No way to insert a partial cluster.
Jan
Logged
henson
Member
Posts: 2
Re: Editing long files
«
Reply #2 on:
April 23, 2012, 01:15:22 pm »
So the answer is yes, the file from the edit insertion on must be rewritten. Only the last cluster may be partially filled.
Very useful and well written book, by the way. How about Bluetooth/ZigBee next?
Logged
Jan Axelson
Administrator
Frequent Contributor
Posts: 1625
Re: Editing long files
«
Reply #3 on:
April 23, 2012, 01:19:13 pm »
I'm glad you found USB Mass Storage useful, and I always welcome suggestions for things to write about. Zigbee and Bluetooth have been on my "short list" for a while.
Jan
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> USB
=> Serial Ports
=> Embedded Ethernet
=> Parallel Port
=> Other Interfaces
=> General Discussion
Loading...